<?php
/**
 * Created by PhpStorm.
 * User: yvdedu.com
 * Date: 2019/6/24
 * Time: 9:22
 */

namespace app\api\service;


use app\api\model\WorkUserForm;

class UserForm {

    /*** 表单新增
     * @param $uid
     * @param $wu_id
     * @param $content
     * @return false|int
     */
    public function FromSubmission($uid,$wu_id,$content){
        $model = new WorkUserForm();
        $result = $model->fromSubmission($uid,$wu_id,$content);
        return $result;
    }

    /*** 报名预约列表
     * @return false|\PDOStatement|string|\think\Collection
     * @throws \think\db\exception\DataNotFoundException
     * @throws \think\db\exception\ModelNotFoundException
     * @throws \think\exception\DbException
     */
    public function AppointmentUser(){
        $model = new WorkUserForm();
        $result = $model->AppointmentUser();
        return $result;
    }
}